package com.example.smartcity_ikun3.logic.model

import com.google.gson.annotations.SerializedName

class GetNewsUserModel {
    /**
     * code : 200
     * msg : 查询成功
     * rows : [{"id":8,"appType":"smart_city","newsId":28,"content":"支持","commentDate":"2021-05-11 17:30:25","userId":2,"likeNum":0,"userName":"test01","newsTitle":"iPhone 13 再爆猛料：不止刘海屏有望缩小，超大杯或将搭载 LTPO 屏"}]
     * total : 1
     */
    @SerializedName("code")
     val code: Int? = null

    @SerializedName("msg")
     val msg: String? = null


    @SerializedName("rows")
    val rows: List<RowsDTO>? = null

    @SerializedName("total")
     val total: String? = null

    class RowsDTO {
        /**
         * id : 8
         * appType : smart_city
         * newsId : 28
         * content : 支持
         * commentDate : 2021-05-11 17:30:25
         * userId : 2
         * likeNum : 0
         * userName : test01
         * newsTitle : iPhone 13 再爆猛料：不止刘海屏有望缩小，超大杯或将搭载 LTPO 屏
         */
        @SerializedName("id")
        private val id: Int? = null

        @SerializedName("appType")
        private val appType: String? = null

        @SerializedName("newsId")
        private val newsId: Int? = null

        @SerializedName("content")
        private val content: String? = null

        @SerializedName("commentDate")
        private val commentDate: String? = null

        @SerializedName("userId")
        private val userId: Int? = null

        @SerializedName("likeNum")
        private val likeNum: Int? = null

        @SerializedName("userName")
        private val userName: String? = null

        @SerializedName("newsTitle")
        private val newsTitle: String? = null
    }
}